import CheckerboardController from './checkerboard'
import CheckerboardTemplate from 'jade!./view/checkerboard.jade'

export default function routes($stateProvider) {
    $stateProvider
        .state('go.checkerboard', {
            url: '/checkerboard',
            template: CheckerboardTemplate,
            controller: CheckerboardController,
            controllerAs: 'checkerboard',
            resolve: {
                config: ['goService', (goService) => {
                    return goService.getConfig();
                }]
            }
        })
}

routes.$inject = ['$stateProvider'];

